<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>赢火虫云信</title>
	<link rel="stylesheet" href="css/base.css" />

	<!-- <link rel="stylesheet" href="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/css/animate.css" /> -->
	<!-- <link rel="stylesheet" href="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/css/jquery-ui.css" /> -->
	<link rel="stylesheet" href="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/css/contextMenu/jquery.contextMenu.css" />
	
	<link rel="stylesheet" href="css/minAlert.css" />
	<link rel="stylesheet" href="css/main.css" />
	<link rel="stylesheet" href="css/casecenter.css" />
	<!-- 最近联系人 -->
	<link rel="stylesheet" href="css/uiKit.css" />
	<link rel="stylesheet" href="css/CEmojiEngine.css" />

	<!-- <link rel="stylesheet" href="css/rangeslider.css" /> -->
	<!-- <link rel="stylesheet" href="css/pure-min.css"> -->
	<!-- <link rel="stylesheet" href="css/whiteboard.css" /> -->

	<link rel="stylesheet" href="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/layui/css/layui.css"/>
	<link rel="stylesheet" href="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/layui_ext/dtree/dtree.css"/>
	<link rel="stylesheet" href="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/layui_ext/dtree/font/dtreefont.css"/>
	<link rel="stylesheet" href="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/css/viewer.css"/>
	<link rel="stylesheet" href="css/selectMember.css">
	<link rel="shortcut icon" href="https://winhc.oss-cn-shanghai.aliyuncs.com/webImg/whc.ico" type="image/x-icon">
	<style>
		/* layer.css 特殊处理 */
		.layui-layer-msg {
			border-radius: 5px !important;
			top: 5px !important;
		}
		.layui-layer-loading{
			display: -webkit-box;
			display: -webkit-flex;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-pack: center;
			-webkit-justify-content: center;
			-ms-flex-pack: center;
			justify-content: center;
		}
	</style>
	<script src="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/jquery-1.11.3.min.js"></script>
	<script src="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/layui/layui.all.js"></script>
	<script>
		console.log("首次进入页面时间=======",new Date().getTime())
		layer.load(2, {time: 10*1000})
	</script>
</head>

<body>
	<div class="bad-network hide tc radius5px" id="errorNetwork">已与服务器断开，请检查网络连接</div>
	<div class="fireflyImWebWrapper">
		<div class="wrapper box-sizing">
			<div class="content">
				<div class="left-panel" id="left-panel">
					<div class="hide loading" id="loading"></div>
					<div class="title borderTopRightRadius firefly-zx-title">
						<div class="firefly_title">
							<img src="images/default-icon.png" alt="" width="48px" height="48px" class="radius-circle" id="userPic" />
							<div id="userName" class="title-username">...</div>
							<div id='lawyerFirmName' class="title-lawyerfirmname">...</div>
						</div>
						
						<div class="firefly_menu">
							<img src="images/menu.png" alt="" style="width:16px;height:16px;" id="firefly_menu">
							<div class="firefly_block hide">
								<div class="firefly_block_li" id='desktopNotification'>
									<img src="images/firefly_tx.png" alt="">
									<span>关闭桌面通知</span>
									<div class="firefly_block_li_triangle"></div>
								</div>
								<!-- <div class="firefly_block_li" id="logout">
									<img src="images/firefly_tc.png" alt="">
									<span>退出</span>
								</div> -->
								
							</div>
						</div>
					</div>
					<!-- <div class="m-devices hide">正在使用赢火虫web版</div> -->
					<div class="groupSearch">
						<img src="images/groupsearch.png" alt="">
						<input type="text" placeholder="搜索最近联系人" id="searchSessionChat">
						<img src="./images/closeIcon.png" alt="删除" class="searchImg hide" id="searchImgIcon">
						<ul class="searcSessionList hide" id='searcSessionList'>
							
						</ul>
					</div>
					<!-- <div class="panel" id="switchPanel"> -->
						<!-- 最近联系人 -->
						<!-- <a class="box-sizing tc m-unread panel_tab cur" data-type="sessions">
							<span class="iconCommon sessionIcon"></span>
							<b class="u-unread hide"> </b>
						</a> -->
						<!-- 通讯录 -->
						<!-- <a class="box-sizing tc panel_tab" data-type="friends">
							<span class="icon icon-friend"></span>
						</a> -->
						<!-- 群组 -->
						<!-- <a class="box-sizing tc panel_tab" data-type="teams">
							<span class="iconCommon teamIcon"></span>
						</a> -->
						<!-- 案件列表 -->
						<!-- <a class="box-sizing tc panel_tab" data-type="casecenter">
							<span class="iconCommon caseIcon"></span>
						</a> -->
					<!-- </div> -->
					<!-- 最近联系人列表 -->
					<div class="item" id="sessionsWrap" data-type="sessions">
						<div class="list">
							<!-- <div class="m-panel">
								<div class="panel_item m-sysMsg" id="showNotice">
									<div class="panel_avatar">
										<img class="panel_image" src="images/notice.png" alt="消息中心" />
									</div>
									<div class="panel_text">
										<p class="panel_single-row">消息中心</p>
									</div>
									<b class="count j-sysMsgCount hide"></b>
								</div>
							</div> -->
							<div id="sessions">
								<p style="text-align: center;margin-top: 60px;">正在获取最近联系人...</p>
							</div>
						</div>
					</div>
					<!-- 通讯录 -->
					<div class="item hide" id="friendsWrap" data-type="friends">
						<div class="list">
							<div class="m-panel">
								<div class="panel_item" id="addFriend">
									<div class="panel_avatar">
										<img class="panel_image" src="images/addFriend.png" alt="添加好友" />
									</div>
									<div class="panel_text">
										<p class="panel_single-row">添加好友</p>
									</div>
								</div>
								<!-- <div class="panel_item" id="showBlacklist">
									<div class="panel_avatar">
										<img class="panel_image" src="images/black.png" alt="黑名单" />
									</div>
									<div class="panel_text">
										<p class="panel_single-row">黑名单</p>
									</div>
								</div> -->
								<div class="panel_item" id="myPhone">
									<div class="panel_avatar">
										<img class="panel_image" src="images/myPhone.png" alt="我的手机" />
									</div>
									<div class="panel_text">
										<p class="panel_single-row">我的手机</p>
									</div>
								</div>
							</div>
							<div id="friends">
								<p>正在获取通讯录...</p>
							</div>
						</div>
					</div>
					<!-- 群组列表 -->
					<!-- <div class="item hide" id="teamsWrap" data-type="teams">
						<div class="list">
							<div class="teamSelect">
								<div class="myCreate teamli slt">我创建的</div>
								<div class="myJoin teamli">我加入的</div>
							</div>
							<div class="teams m-panel" id="teams">
							</div>
						</div>
					</div> -->
					<!-- 案件列表 -->
					<div class="item hide" id="casecenterWrap" data-type="casecenter">
					</div>
				</div>
				<!-- 右侧聊天面板 -->
				<div class="right-panel hide" id="rightPanel">
					<div class="chat-box show-netcall-box" id="chatBox">
						<div class="title othFlex" id="chatTitle">
							<img src="" width="56" height="56" class="radius-circle yhcHeaderImg" id="headImg" />
							<div class="yhcHeaderImg hide" id="yhcHeaderImg"></div>
							<span id="nickName"></span>
							<span id="memberNum"></span>
							<!-- <div class="cloudMsg tc radius4px" data-record-id="" id="cloudMsg">
								<i class="icon-team-iclould" title="云记录"></i>
							</div> -->
							<div class="zx-time-cutdown">
								<div id="zxTimeCutdown" class="cutdown-tips">
									<span>图文咨询中</span>
									<span class="zx-time-cutdown-time"></span>
								</div>
								<div class="endservice-btn hide" id="endserviceBtn">
									结束服务
								</div>
							</div>

							<div class="orderTips hide">
								<div class="tip-top">
									<img src="./images/oks.png" alt="">
									<span>服务已完成</span>
								</div>
								<div class="tip-ms">咨询服务已完成，用法律传递爱，您又帮助了一位用户！</div>
							</div>
							
							<!-- <div class="team-info hide tc radius4px" data-team-id="" id="teamInfo">
								<i class="icon-team-datum" title='群资料'></i>
							</div> -->
						</div>
						<!-- p2p视屏音频操作 -->
						<div class="netcall-box" id="netcallBox">
						</div>
						<!-- 白板 -->
						<div id="whiteboard"></div>
						<!-- 聊天记录 -->
						<div class="chat-content box-sizing" id="chatContent">
							
						</div>
						<div class="u-chat-notice">您已退出</div>
						<div class="chat-mask"></div>
						<!-- 输入聊天模块 -->
						<div class="chat-editor box-sizing" id="chatEditor" data-disabled="1">
							<div style="height:45px;padding: 0 15px;border-bottom: 1px solid #ccc3;border-top: 1px solid #ccc3;">
								<div id="emojiTag" class="m-emojiTag"></div>
								<a class="chat-btn u-emoji" id="showEmoji" title="表情"></a>
								<a class="chat-btn fireflyScreenShot" id="fireflyScreenShot" title="截屏"></a>
								<span class="chat-btn msg-type" id="chooseFileBtn" title="图片和文件">
									<a class="icon icon-file" data-type="file"></a>
								</span>
								<a class="chat-btn comonWords" id="comonWords" title="常用语"></a>
								<!-- 常用语快速选择模块 -->
								<div id="comonWordsWrap" class="comonWordsWrap hide">
									<div class="commonTriangle"></div>
									<div class="common-top">
										<span>快速回复</span>
										<div class="common-edit">
											<img src="./images/common_add.png" alt="添加" title="添加" class="common_add" id="common_add">
											<img src="./images/common_edit.png" alt="管理" title="管理" class="common_edit" id="common_edit">
										</div>
									</div>
									<ul class="common-items">
										
									</ul>
								</div>
								<!-- 订单发送模块 -->
								<a class="chat-btn sendQuickOrder" id="sendQuickOrder" title="发送订单"></a>
								<div id="sendQuickOrderWrap" class="sendQuickOrderWrap hide">
									<div class="sendTriangle"></div>
									<div class="order-top">
										<div class="olt">
											<div class="tl">请选择发送服务订单</div>
											<div class="tc">发送服务订单后用户可直接向您下单</div>
										</div>
										<img src="./images/close.png" alt="" class="ort" >
									</div>
									<div class="order-type">
										<!-- <div class="oritem">
											<div class="irt">
												<img src="./images/tw.png" alt="" class="rim">
												<div class="rms">
													<p class="bt">图文咨询</p>
													<p class="sj">¥29元/30分钟</p>
												</div>
											</div>
											<img src="./images/rjt.png" alt="" class="rjt">
										</div>
										<div class="oritem">
											<div class="irt">
												<img src="./images/dh.png" alt="" class="rim">
												<div class="rms">
													<p class="bt">电话咨询</p>
													<p class="sj">¥49元/30分钟</p>
												</div>
											</div>
											<img src="./images/rjt.png" alt="" class="rjt">
										</div> -->
									</div>
								</div>


								<a class="chat-btn commonFunctions" id="commonFunctions" title="常用功能"></a>
								<a class="chat-btn chatRecords" id="cloudMsg" title="聊天记录"></a>
								<form action="#" id="uploadForm">
									<input multiple="multiple" type="file" name="file" id="uploadFile" class="hide" />
								</form>
							</div>
							<div class="textareaMsg">
								<textarea id="messageText" class="chat-btn msg-input box-sizing radius5px" rows="5" autofocus="autofocus" maxlength="1500"></textarea>
							</div>
							<a class="btn-send radius5px" id="sendBtn">发送</a>
						</div>
					</div>
				</div>
				<!-- IM最左侧订单详情 -->
				<div class="far-right-panel">
					<div class="far-right-order">
						<div class="far-title-title">订单详情</div>
						<div class="far-order-info">
							<!-- <div class="order-items">
								<div class="title-top">
									<img src="./images/flzx/u-custom-pic102.png" alt="">
									<span class="top-tw">图文咨询</span>
									<span class="top-hy">婚姻家庭</span>
								</div>
								<div class="result-desc">爸爸出轨小姨被我撞见了，我该怎么办？他们离婚的话，我和妹妹会分开吗？</div>
								<div class="order-oth">
									<div class="order-oth-item">
										<span>咨询者</span>尾号2367用户
									</div>
									<div class="order-oth-item">
										<span>案件区域</span>上海市
									</div>
									<div class="order-oth-item">
										<span>订单编号</span>24532234
									</div>
									<div class="order-oth-item">
										<span>支付时间</span>2020-11-12 16:40:09
									</div>
									<div class="order-oth-item">
										<span>支付金额</span>29.00元
									</div>
								</div>
							</div> -->
						</div>
					</div>
					<div class="far-right-tools hide">
						<div class="far-title-title">
							<span>大数据查询</span>
							<img src="./images/closeIcon.png" alt="">
						</div>
						<div class="far-tools-info">
							<div class="tool-block" data-type="cgs">
								<div class="imagBlock cgs"></div>
								<div class="tools-name">查公司</div>
							</div>
							<div class="tool-block" data-type="cal">
								<div class="imagBlock cal"></div>
								<div class="tools-name">查案例</div>
							</div>
							<div class="tool-block" data-type="cfg">
								<div class="imagBlock cfg"></div>
								<div class="tools-name">查法规</div>
							</div>
							<div class="tool-block" data-type="zzq">
								<div class="imagBlock zzq"></div>
								<div class="tools-name">找债权</div>
							</div>
							<div class="tool-block" data-type="sls">
								<div class="imagBlock sls"></div>
								<div class="tools-name">搜律师</div>
							</div>
						</div>
						<div class="far-title-title">
							<span>法律计算器</span>
						</div>
						<div class="far-tools-info oth">
							<div class="tool-block" data-type="ls">
								<div class="imagBlock ls"></div>
								<div class="tools-name">律师费计算</div>
							</div>
							<div class="tool-block" data-type="ss">
								<div class="imagBlock ss"></div>
								<div class="tools-name">诉讼费计算</div>
							</div>
							<div class="tool-block" data-type="ts">
								<div class="imagBlock ts"></div>
								<div class="tools-name">天数计算</div>
							</div>
							<div class="tool-block" data-type="lx">
								<div class="imagBlock lx"></div>
								<div class="tools-name">利息计算</div>
							</div>
							<div class="tool-block" data-type="gs">
								<div class="imagBlock gs"></div>
								<div class="tools-name">工商赔偿</div>
							</div>
							<div class="tool-block" data-type="jj">
								<div class="imagBlock jj"></div>
								<div class="tools-name">经济赔偿金</div>
							</div>
							<div class="tool-block" data-type="zn">
								<div class="imagBlock zn"></div>
								<div class="tools-name">滞纳金计算</div>
							</div>
						</div>
					</div>
				</div>
				<!-- 设备管理面板 -->
				<div class="right-panel hide radius5px devices-container" id="devices">
					<div class="info-box">
						<div class="title">
							<div class="btn teamData">
								<div class="teamBack j-backBtn" id="backBtn2"><img src='images/back.png' />返回</div>
								<div class="teamTitle">多端登录管理</div>
							</div>
						</div>
						<div class="content">
							<div class="main">
								<div class="pic"></div>
								<div class="mobile hide">
									<p>赢火虫云信手机版</p>
									<a class="u-kick j-kickMoblie">下线</a>
								</div>
								<div class="pc hide">
									<p>赢火虫云信PC版</p>
									<a class="u-kick j-kickPc">下线</a>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- 群资料 -->
			<div class="team-info-container hide" id="teamInfoContainer"></div>
			<!--关联案件-->
			<div class="relevance-case-container hide" id="relevanceCaseContainer"></div>
			<!-- 云记录 -->
			<div class="cloud-msg-container hide" id="cloudMsgContainer"></div>
			<!-- 创建群组 -->
			<div class="create-team-container hide" id="createTeamContainer"></div>
			<!-- 未选择聊天记录 -->
			<div class="create-nochat-container" id="noSelectChat">
				<div class="title">
					<div class="btn teamData">
						<div class="teamTitle"></div>
					</div>
				</div>
				<div class="nochatContent">
					<div><img src="images/no_chat.png" alt=""></div>
					<!-- <p>未选择聊天</p> -->
				</div>
			</div>
			<!-- 群组中未选择群组聊天 -->
			<div class="crete-noteam-container hide" id="createNoTeamContainer">
				<div class="title">
					<div class="btn teamData">
						<div class="teamTitle">群资料</div>
					</div>
				</div>
				<div class="nochatContent">
					<div><img src="images/noTeamChat.png" alt=""></div>
					<p>未选择聊天</p>
				</div>
			</div>
			<!-- 群组中未选择案件 -->
			<div class="crete-noteam-container hide" id="createNoCaseContainer">
				<div class="title">
					<div class="btn teamData">
						<div class="teamTitle">案件详情</div>
					</div>
				</div>
				<div class="nochatContent">
					<div><img src="images/noTeamChat.png" alt=""></div>
					<p>未选择案件</p>
				</div>
			</div>
			<!-- 案件详情 -->
			<div class="case-info-container hide" id="case-info-container">
				<div class="title">
					<div class="caseTitle">案件详情</div>
					<div class="createteam" id='case-to-parent'><span id='case-to-createteam'>创建群组</span><img src="images/back.png"></div>
				</div>
				<div class="showCaseDetail">
					<div class="topSelect">
						<span class="slt" data-flag="caseIntr">案情简介</span>
						<span data-flag="caseFollow">案件跟踪</span>
						<span data-flag="caseMemo">参与人员</span>
						<span data-flag="caseFile">案件附件</span>
					</div>
					<!-- 案情简介 -->
					<div class="caseDetailInfo">
						
					</div>
					<!-- 案件跟踪 -->
					<div class="caseProgress hide">
						
					</div>
					<!-- 参与人员 -->
					<div class="caseParticipant hide">
						
					</div>
					<!-- 案件附件 -->
					<div class="attachmentContainer hide">
						
					</div>
				</div>
			</div>
			



			<!-- 群弹框 -->
			<div class="dialog-team-container radius5px hide" id="dialogTeamContainer"></div>
			<!-- 技术方案弹框 -->
			<div class="dialog-team-container radius5px hide" id="dialogCallMethod"></div>
			<!-- 黑名单 -->
			<!-- <div class="m-blacklist radius5px hide" id="blacklist">
				<div class="title box-sizing">
					黑名单
					<i class="icon icon-close j-close"></i>
				</div>
				<div class="notice">你不会接收到列表中联系人的任何消息</div>
				<ul class="f-cb list">
					<li class="items f-cb">
						<img src="images/default-icon.png" class="head">
						<span class="nick">未知</span>
						<button class="btn radius4px btn-ok j-rm">解除</button>
					</li>
				</ul>
			</div> -->
			<!-- 消息中心 -->
			<div class="m-notice radius5px hide" id="notice">
				<div class="title box-sizing">
					消息中心
					<i class="icon icon-close j-close"></i>
					<b class="j-rmAllSysNotice rmAll"></b>
				</div>
				<ul class="tab f-cb">
					<li class="crt" data-value="sys">系统通知</li>
					<li data-value="other">自定义通知</li>
				</ul>
				<div class="content j-sysMsg">
				</div>
				<div class="content j-customSysMsg hide">
				</div>
			</div>
			
			<!-- 从剪切板获取复制图片 -->
			<div class="showPasteImage hide" id='showPasteImage'>
				<div class="showHeadImg">发送图片</div>
				<div class="showContentImg"></div>
				<div class="showFooterImg">
					<div class="showImgBtn" id="showPasteCancle">取消</div>
					<div class="showImgBtn slt" id="showPasteConfirm">发送</div>
				</div>
			</div>

			<!-- 添加好友 -->
			<div class="m-dialog hide" id="addFriendBox">
				<div class="title box-sizing">
					添加好友
					<i class="icon icon-close j-close"></i>
				</div>
				<div class="content tc">
					<input type="text" class="ipt radius5px box-sizing j-account" placeholder="请输入帐号" />
					<div class="info f-cb">
						<img src="">
						<div class="desc">
							<p class="j-nickname"></p>
							<p>
								<span class="j-username"></span>
							</p>
						</div>
					</div>
					<div class="tip">
					</div>
				</div>
				<div class="btns tc">
					<button class="btn btn-cancel radius4px cancel j-close">取消</button>
					<button class="btn btn-ok radius4px search j-search">确定</button>
					<button class="btn btn-cancel radius4px back j-back">继续搜索</button>
					<button class="btn btn-ok radius4px add j-add">加为好友</button>
					<button class="btn btn-ok radius4px done j-close">完成</button>
					<button class="btn btn-ok radius4px chat j-chat">聊天</button>
					<button class="btn btn-del radius4px blacklist j-blacklist">移出黑名单</button>
				</div>
			</div>

			<!--  添加常用语-->
			<div class="min-alert-mask common-min-alert-mask">
				<div class="common-alert-info">
					<div class="common-alert-title">
						<span>添加常用语</span>
						<img src="./images/closeIcon.png" alt="关闭" id="commonAlertClose">
					</div>
					<div class="common-alert-addinfo hide">
						<div class="common-alert-mid">
							<textarea type="text" class="radius5px box-sizing" placeholder="编辑输入你的聊天常用语，即可在聊天时快速发送。" id="common-alert-msg" maxlength="120"></textarea>
						</div>
						<div class="common-alert-bottom">
							<div class="alert-bottom-btn" id="alert-bottom-btn-save">保存</div>
						</div>
					</div>
					<div class="common-alert-editinfo hide">
						<div class="common-alert-editIteminfo">
							<!-- <div class="alert-edit-items">
							<div contenteditable="true" class="edit-contenteditable">哈哈哈哈哈</div>
							<div class="alert-items-right">
								<span class="items-right-label">
									<span class="items-right-label-edit">编辑</span>
									<span class="items-right-label-del">删除</span>
									<span class="items-right-label-top">置顶</span>
								</span>
								<span class="items-right-slabel hide">
									<span class="items-right-label-save" data-id="${e.id}">保存</span>
								</span>
							</div>
						</div> -->
						</div>
						
					</div>
				</div>
			</div>

		</div>
	</div>
	<div class="footer tc">
		<span>&copy;赢火虫信息科技(上海)有限公司</span>
	</div>
	<div id="mask" class="mask hide"></div>
	<script>
		// IE 11 polify
		if (!Object.assign) {
			Object.assign = function () {
				var list = arguments
				for (var i = 1; i < list.length; i++) {
					list[0] = extend(list[0], list[i])
				}
				return list[0]
			}

			function extend(obj1, obj2) {
				for (var i in obj2) {
					obj1[i] = obj2[i]
				}
				return obj1
			}
		}
	</script>
	<script src="../3rd/nim_server_conf.js"></script>
	<script src="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/NIM_Web_SDK_v8.3.0.js"></script>
	<!-- <script src="../3rd/NIM_Web_Netcall_v6.1.0.js"></script> -->
	<!-- <script src="../3rd/NIM_Web_WebRTC_v6.1.0.js"></script> -->
	<!-- <script src="../3rd/NIM_Web_WhiteBoard_v6.1.0.js"></script> -->
	<script src="js/config.js"></script>
	<!-- <script src="../3rd/DrawPlugin.js"></script> -->
	<!-- <script src="./js/3rd/whiteboard.js"></script> -->
	<!-- <script src="../3rd/platform.js"></script> -->
	<script src="js/request.js"></script>
	<!-- <script src="../3rd/rtcSupport.js"></script> -->
	<script src="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/jquery-ui.min.js"></script>
	<!-- <script src="../3rd/rangeslider.min.js"></script> -->
	<!-- 右键菜单-->
	<script src="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/jquery.ui.position.js"></script>
	<script src="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/jquery.contextMenu.js"></script>
	<script src="../3rd/recorder.js"></script>
	<script src="js/emoji.js"></script>
	<script src="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/md5.js"></script>
	<script src="js/util.js?v=2"></script>
	<script src="js/cache.js?v=2"></script>
	<script src="js/link.js"></script>
	<script src="js/ui.js?v=2"></script>
	<script src="js/widget/uiKit.js?v=2"></script>
	<script src="js/widget/minAlert.js"></script>
	<script src="js/module/base.js"></script>
	<script src="js/module/message.js"></script>
	<script src="js/module/sysMsg.js"></script>
	<script src="js/module/personCard.js"></script>
	<script src="js/module/session.js"></script>
	<script src="js/module/friend.js"></script>

	<script src="js/module/team.js"></script>
	<script src="js/module/dialog_team.js"></script>
	<script src="js/module/cloudMsg.js"></script>
	<script src="js/module/create_team.js"></script>
	<script src="js/module/notification.js"></script>
	<script src='js/module/caseCenter.js'></script>
	<!-- <script src="js/module/netcall.js"></script> -->
	<!-- <script src="js/module/netcall_meeting.js"></script> -->
	<!-- <script src="js/module/netcall_ui.js"></script> -->
	<!-- <script src="js/module/dialog_call_method.js"></script> -->

	<!-- 入口文件 -->
	<script src="js/main.js?v=2"></script>

	<!-- <script src="../3rd/vue.min.js"></script> -->
	<!-- <script src="js/module/whiteboard.js"></script> -->

	<!--牛牛截图模块  -->
	<script src="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/niuniucapture.js"></script>
	<script src="js/module/capturewrapper.js"></script>
	<script src="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/jquery.json-2.3.min.js"></script>
	<!-- viewer图片预览插件 -->
	<script src="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/viewer.js"></script>
	<script src="https://winhc.oss-cn-shanghai.aliyuncs.com/IM_Web/layui_ext/dist/dtree.js"></script>
	<!--<script src="../3rd/zepto.min.js"></script>-->
	<script>
		// FastClick.attach(document.body);
		// $(window).bind('beforeunload',function(){return '您输入的内容尚未保存，确定离开此页面吗？';});
		Init();//牛牛截图初始化
		window.onerror = function (errorMessage, source, lineno, colno, error) {
			var info = "错误信息：" + errorMessage + "\n" +
				"出错文件：" + source + "\n " +
				"出错行号：" + lineno + "\n" +
				"出错列号：" + colno + "\n" +
				"错误详情：" + error + "\n";
			console.error(JSON.stringify(info));
		}
		//监听tab切换事件
		sessionStorage.setItem('windowVisibility', "visible");//默认设置为显示状态
		document.addEventListener('visibilitychange',function(){
			// console.log("浏览器窗口切换=",document.visibilityState)
			if(document.visibilityState=='hidden') {
				sessionStorage.setItem('windowVisibility', document.visibilityState);
			}else{
				sessionStorage.setItem('windowVisibility', document.visibilityState);
			}
		});
		var showChatImageList = [];//聊天记录中的图片 
	</script>
</body>

</html>
